package com.example.designpattern.observer;

/**
 * @author long
 */
public class TomObserver implements Observer{

    @Override
    public void update(double latestPrice) {
        System.out.println("tom接收到股票价格变化,最新价"+latestPrice);
    }

}
